import React from "react"

export default React.createClass({
  render: function(){
    var props = this.props
    var raisedName = props.raised ? " mdl-button--raised mdl-js-ripple-effect" : ""
    return (
      <button id={props.id} className={"mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--accent" + raisedName}>
       {props.text}
      </button>
    )
  }
})
